<?php
/**
 * message_remind 数据表模型
 * @author  yuliang <yuliang@pvc123.com>
 */

namespace models;

class MessageRemindModel extends C_Model {




    //to_status 发送状态(0=未发送,1=已发送,2=发送失败)
    const TO_STATUS_SEND_FALSE =0;
    const TO_STATUS_SEND_TRUE =1;
    const TO_STATUS_SEND_FAILED =2;

    //is_read 状态(0=未读,1=已读)
    const IS_READ_FALSE =0;
    const IS_READ_TRUE =1;

    //to_way 发送方式(1=站内,2=短信)
    const TO_WAY_SITE_REMIND =1;
    const TO_WAY_SMS_REMIND =2;

    public function __construct() {

        //创建model对象并初始化数据表名称
        parent::__construct('message_remind');

        //设置表数据表主键，默认为id
        $this->setPrimaryKey('id');
		$this->autoPrimary = false;
        

        

    }
} 
